package org.magicbox.qjunTPO.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import org.magicbox.qjunTPO.entity.ApplyAll;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 欢迎添加科技实践队粉丝群：690849711
 * @since 2021-11-17
 */
public interface ApplyAllService extends IService<ApplyAll> {
    boolean exApply(ApplyAll applyAll);

    /**
     * 获取申请
     * @param type 申请类型0 所有申请 1 申请入队 2 申请教室
     * @param pageNumber  页码
     * @param detial   等待审核、已阅
     * @return
     */
    IPage getApply(int type,Integer pageNumber,String detial) throws Exception;
}
